package com.sam.chat.service;

import com.sam.chat.entity.ChatUserDao;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sam.chat.vo.UserVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sam
 * @since 2022-12-31
 */
public interface IChatUserService extends IService<ChatUserDao> {

    UserVo loginByPassword(String username, String password);

    boolean checkUsername(String username);

    boolean checkPhone(String phone);

    boolean register(String username,String nickname,String password,String phone,String header,int sex,int age);


}
